package com.quartet.modules.equipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quartet.modules.equipment.dto.TEquipmentInfoAddRequestDto;
import com.quartet.modules.equipment.entity.TEquipmentInfo;

/**
 * 设备信息表(TEquipmentInfo)表服务接口
 *
 * @author makejava
 * @since 2021-05-04 16:34:14
 */
public interface TEquipmentInfoService extends IService<TEquipmentInfo> {

    /**
     * 添加设备信息
     * @param tEquipmentInfoAddRequestDto
     */
    void addEquipmentInfo(TEquipmentInfoAddRequestDto tEquipmentInfoAddRequestDto);

    /**
     * 功能描述: 修改设备信息
     * @author huipanxing huipanxing@chinasofti.com
     * @date 2021/5/13 16:19
     * @param tEquipmentInfoAddRequestDto
     * @return void
     */
    void updateEquipmentInfo(TEquipmentInfoAddRequestDto tEquipmentInfoAddRequestDto);

    /**
     * 根据设备编码删除设备信息
     * @param equipmentCode
     */
    void deleteEquipmentInfo(String equipmentCode);

    /**
     * 根据设备编码查询设备信息
     * @param equipmentCode
     * @return
     */
    TEquipmentInfoAddRequestDto selectEquipmentInfo(String equipmentCode);
}
